package org.jeecg.modules.villageCadreAssist.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.villageCadreAssist.entity.VcaFarmland;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.villageCadreAssist.entity.VcaResident;

/**
 * @Description: vca_farmland
 * @Author: jeecg-boot
 * @Date:   2022-04-10
 * @Version: V1.0
 */
public interface VcaFarmlandMapper extends BaseMapper<VcaFarmland> {

    List<VcaFarmland> queryTopN(@Param("farmland") VcaFarmland farmland, @Param("orgCode")String orgCode);

    IPage<VcaFarmland> queryPageList(Page<VcaFarmland> page, @Param(Constants.WRAPPER) QueryWrapper<VcaFarmland> queryWrapper, @Param("orgCode")String orgCode);
}
